package com.wootide.cms.sys.common.pojo;

import com.wootide.cms.sys.rightinfo.pojo.AuthoritiesInfo;
import com.wootide.cms.sys.role.pojo.RoleInfo;

/**
 * 角色权限关系pojo
 * 〈一句话功能简述〉
 * 〈功能详细描述〉
 * @author ozm
 * @version 2013-1-22
 * @see RoleAuthoritiesInfo
 * @since 2013-1-22下午2:58:01
 */
public class RoleAuthoritiesInfo implements java.io.Serializable
{
    
    // Fields
    
    /**
     * 意义，目的和功能，以及被用到的地方<br>
     */
    private static final long serialVersionUID = 1L;

    //ID
    private Integer id;
    
    //权限信息
    private AuthoritiesInfo authoritiesInfo;
    
    //角色信息
    private RoleInfo roleInfo;
    
    // Constructors
    
    /** default constructor */
    public RoleAuthoritiesInfo()
    {
    }
    
    /** full constructor */
    public RoleAuthoritiesInfo(AuthoritiesInfo authoritiesInfo,
            RoleInfo roleInfo)
    {
        this.authoritiesInfo = authoritiesInfo;
        this.roleInfo = roleInfo;
    }
    
    // Property accessors
    
    public Integer getId()
    {
        return this.id;
    }
    
    public void setId(Integer id)
    {
        this.id = id;
    }

    public AuthoritiesInfo getAuthoritiesInfo()
    {
        return authoritiesInfo;
    }

    public void setAuthoritiesInfo(AuthoritiesInfo authoritiesInfo)
    {
        this.authoritiesInfo = authoritiesInfo;
    }

    public RoleInfo getRoleInfo()
    {
        return roleInfo;
    }

    public void setRoleInfo(RoleInfo roleInfo)
    {
        this.roleInfo = roleInfo;
    }
    
  
}